<jsp:directive.tag language="java" pageEncoding="UTF-8"/>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ attribute name="value" required="true"%>
<%@ attribute name="orderId" required="true"%>
<%@ attribute name="showStyle" required="true"%>
<c:if test="${showStyle=='list'}">
<c:if test="${value==0}" >
<a href="${ctxPath}/front/order/orderSearch.do?cmd=doAffirmance&orderId=${orderId}" style="line-height:18px; ">支付</a></br>
<a href="${ctxPath}/front/index.do?cmd=viewDetail&id=${orderId}" style="line-height:18px;">查看</a></br>
<a href="${ctxPath}/front/index.do?cmd=cancelOrder&id=${orderId}" style="line-height:18px; ">取消</a>
</c:if>
<c:if test="${value==1 ||value==5 ||value==40 ||value==8}" >
<a href="${ctxPath}/front/index.do?cmd=viewDetail&id=${orderId}" style="line-height:18px; ">查看</a>
</c:if>
<c:if test="${value==2}" >
<a href="${ctxPath}/front/index.do?cmd=toUpdate&id=${orderId}&actionType=8" style="line-height:18px;">退票</a></br>
<a href="${ctxPath}/front/index.do?cmd=toUpdate&id=${orderId}&actionType=40" style="line-height:18px; ">改签</a></br>
<a href="${ctxPath}/front/index.do?cmd=viewDetail&id=${orderId}" style="line-height:18px; ">查看</a>
</c:if>
</c:if>


<c:if test="${showStyle=='detail'}">
<c:if test="${value==0}" >
 <input name="Submit" type="submit" onclick="window.location.href='${ctxPath}/front/order/orderSearch.do?cmd=doAffirmance&orderId=${bOrder.id }'" style="width:66px;height:21px;border:solid #E5EFFC 1px;color:#FFFFFF;background-color:#4478C7;padding-top:2px;cursor:pointer; margin-left:30px;margin-left:5px\9;" value="支付" />
 <input name="Submit" type="submit" onclick="window.location.href='${ctxPath}/front/index.do?cmd=cancelOrder&id=${bOrder.id}'" style="width:66px;height:21px;border:solid #E5EFFC 1px;color:#FFFFFF;background-color:#4478C7;padding-top:2px;cursor:pointer; margin-left:30px;margin-left:5px\9;" value="取消" />
</c:if>

<c:if test="${value==2}" >
<input name="Submit" type="submit" onclick="window.location.href='${ctxPath}/front/index.do?cmd=toUpdate&id=${orderId}&actionType=8'" style="width:66px;height:21px;border:solid #E5EFFC 1px;color:#FFFFFF;background-color:#4478C7;padding-top:2px;cursor:pointer; margin-left:30px;margin-left:5px\9;" value="退票" />
<input name="Submit" type="submit" onclick="window.location.href='${ctxPath}/front/index.do?cmd=toUpdate&id=${orderId}&actionType=40'" style="width:66px;height:21px;border:solid #E5EFFC 1px;color:#FFFFFF;background-color:#4478C7;padding-top:2px;cursor:pointer; margin-left:30px;margin-left:5px\9;" value="改签" />
</c:if>
</c:if>